package online.inote.naruto.annotation;

import java.lang.annotation.*;

/**
 * @description 优先级
 * @author gaopengsui@creditease.cn
 * @date 2021/10/26 11:28 下午
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Priority {

  /** 默认优先级, 值越大优先级越低 */
  int DEFAULT_PRIORITY = Integer.MAX_VALUE;

  int value() default DEFAULT_PRIORITY;
}
